<template>
    <div>
        <!-- //权限列表 -->
        <el-table :data="rightsList" :border="true">

            <el-table-column type="index" label="#"> </el-table-column>
            <el-table-column label="权限名称" prop="authName"> </el-table-column>
            <el-table-column label="权限路径" prop="path"> </el-table-column>
            <el-table-column label="权限等级">
                <template slot-scope="scope">
                    <el-tag :type="scope.row.level | lev">{{ scope.row.level | eve }}</el-tag>
                </template>
            </el-table-column>
        </el-table>
    </div>
</template>

<script>
import { getjurisdiction } from '@/http/rights'
import { throttle } from 'echarts';
export default {
    data() {
        return {
            rightsList: []
        }
    },
    created() {
        getjurisdiction('list').then(res => {
            console.log(res);
            this.rightsList = res.data
        })
    }
}
</script>

<style lang="scss" scoped>
</style>